<?php
/**
 *
 * PHP 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       Cake.View.Layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html>
<html>
    <head>
        <?php echo $this->Html->charset(); ?>
        <title>
            <?php echo $title_for_layout; ?> - <?php echo __('My Site') ?>
        </title>
        <?php
        echo $this->Html->meta('icon');

        echo $this->Html->css(array('/TwitterBootstrap/css/bootstrap.min', 'style'));
        echo $this->Html->script(array('jquery', '/TwitterBootstrap/js/bootstrap.min'));

        echo $this->fetch('meta');
        echo $this->fetch('css');
        echo $this->fetch('script');
        ?>
    </head>
    <body>
        <nav id="top">
            <div class="container">
                <div class="row">
                    <div class="span2">
                        <?php echo $this->Html->link(__('Golden Songs'), '/', array('class' => 'logo')); ?>
                    </div>
                    <div class="span6">
                        <form class="form-search pull-right">
                            <div class="control-group">

                                <div class="controls">
                                    <div class="input-append">
                                        <input class="span5" id="appendedInputButton" size="16" type="text"><button class="btn" type="button">Search</button>
                                    </div>
                                </div>
                            </div>
                        </form>
                    </div>
                    <div class="span4">
                        <div class="row">
                            <div class="span2">
                                <ul class="menu">
                                    <li><?php echo $this->Html->link(__('Browse'), '/browse', array('class' => 'browse')) ?></li>
                                    <li><?php echo $this->Html->link(__('Upload'), '/upload', array('class' => 'btn btn-primary')) ?></li>
                                    
                                </ul>
                            </div>
                            <div class="span2">
                                <?php
                                    echo $this->element('profileMenu', array('login' => 0))
                                ?>
                            </div>
                        </div>

                    </div>
                </div>
            </div>
        </nav>
        <section id="main" class="container">
            <div class="row">
                <section class="span8">
                    <div id="content">
                                            <?php echo $this->Session->flash(); ?>
                    <?php echo $this->fetch('content'); ?>
                    </div>
                </section>
                <aside class="span4" id="sidebar">
                    Sidebar
                </aside>
            </div>
        </section>
    </body>
</html>
